from gradio_client import Client, handle_file

client = Client("http://localhost:7861/")
result = client.predict(
		img=handle_file('people(10).jpg'),
		api_name="/detect_fall"
)
print(result)